package com.louis.iread.utils;

import org.xml.sax.XMLFilter;
import org.xutils.DbManager;
import org.xutils.config.DbConfigs;
import org.xutils.x;

/**
 * Created by louis on 17-4-5.
 */

public class DbUtil {
    private static DbManager dbManager;

    public static void init(DbManager.DaoConfig cfg) {
        dbManager = x.getDb(cfg);
    }

    public static DbManager getDbManager() {
        return dbManager;
    }
}
